<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
  <title>新闻资讯</title>
</head>
<link rel="stylesheet" href="__PUBLIC__/css/amazeui.css"/>
<link rel="stylesheet" href="__PUBLIC__/css/mobeil.css"/>
<link rel="stylesheet" href="__PUBLIC__/css/swiper.css"/>

<script src="__PUBLIC__/js/jquery.min.js"></script>
<script src="__PUBLIC__/js/amazeui.js"></script>
<script src="__PUBLIC__/js/swiper.js"></script>
<script src="__PUBLIC__/js/vue.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>
<script src="__PUBLIC__/js/axios.min.js"></script>


<style type="text/css">

html, body {
	/*height: 100%;*/
}

.clear-margin-padding {
	margin: 0;
	padding: 0;
}

.text-line {
  border-top: 1px solid #909090; 
  width: 12rem; 
  display: inline-block; 
  vertical-align: 5px;
}

.sub-title-div {
  text-align: center;
}

.sub-title-text {
  font-size: 5rem;
  color: #00A0EA;
}

.sub-title-text-eng {
  font-size: 3rem;
  color: #909090;
}
</style>
<style type="text/css">

.text-line {
  border-top: 1px solid #909090; 
  width: 50px; 
  display: inline-block; 
  vertical-align: 5px;
}

.advantage-div {
  margin-top: 75px;
}

.sub-title-div {
  text-align: center;
}

.sub-title-text {
  font-size: 20px;
  color: #00A0EA;
}

.sub-title-text-eng {
  font-size: 18px;
  color: #909090;
}

.advantage-details {
  margin-top: 50px;
}

.advantage-ceil {
  padding: 0 50px;
}

.advantage-ceil-title {
  font-size: 20px;
  font-weight: 20;
}

.advantage-ceil-text {
  font-size: 14px;
  margin-top: 20px;
  line-height: 28px;
  color: #707070;
}


.advantage-ceil-img {
  width: 100%;
  margin-top: 20px;
}

.about-us {
  margin-top: 50px;
}

.about-us-content {
  width: 70%;
  padding: 0;
  margin: 30px auto;
}

.content-div {
  /*font-size: 14px;*/
  color: #707070;
  padding: 30px 0;
  width: 90%;
  margin: 0 auto;
}

.product-div {
  margin-top: 50px;
}


.product-title {
  font-size: 5rem;
  font-weight: 70;
  color: #000000;
}

.updatetime {
  font-size: 3rem;
  color: #ADADAD;
  margin-top: 15px;
}

.grid-reset {
  margin: 0;
  padding: 0;
}

.last-next-font-style {
  font-size: 3.5rem;
}

</style>
<body style="background-color: #EFF5FF">


<style type="text/css">
  
.nav-list {
  width: 90%;
  font-size: 4rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 0;
}

.nav-list>li {
  padding: 2rem 0;
}

.nav-btn {
  width: 85%;
  background-color: #FBFDFF;
  border: 1px solid #E2E3E6;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 2rem;
}

</style>

<div id="header">
  <div class="header-bar">
    <?php echo ($webconfig['webname']); ?>
  </div>

  <div v-show="showNav" style="width: 100%; height: 1500rem; background-color: rgba(0,0,0, 0.6); position: fixed; left: 0; top: 0; z-index: 990">
    
  </div>

  <div v-show="showNav" style="position: fixed; width: 100%; height: 75rem; bottom: 25%; z-index: 991; overflow: hidden;">
    <a href="<?php echo U('Index/index');?>" style="color: #FFFFFF">
    <div id="nav1" class="nav-btn-div am-g">
      <div class="am-u-md-3 mobeil-nav-btn-div">
        <div class="<?php echo $activeArr['indexActive'] ? 'mobeil-nav-btn-active' : 'mobeil-nav-btn'; ?>">
          <img src="<?php echo $activeArr['indexActive'] ? '__PUBLIC__/img/index_active.png' : '__PUBLIC__/img/index.png'; ?>">
        </div>
      </div>
      <div class="am-u-md-9 nav-text">
          首页 
      </div>
    </div>
    </a>

    <a href="<?php echo U('Index/about');?>" style="color: #FFFFFF">
    <div id="nav2" class="nav-btn-div am-g">
      <div class="am-u-md-3 mobeil-nav-btn-div">
        <div class="<?php echo $activeArr['aboutUsActive'] ? 'mobeil-nav-btn-active' : 'mobeil-nav-btn'; ?>">
          <img src="<?php echo $activeArr['aboutUsActive'] ? '__PUBLIC__/img/person_active.png' : '__PUBLIC__/img/person.png'; ?>">
        </div>
      </div>
      <div class="am-u-md-9 nav-text">
          关于我们          
      </div>
    </div>
    </a>

    <a href="<?php echo U('Index/product');?>" style="color: #FFFFFF">
    <div id="nav3" class="nav-btn-div am-g">
      <div class="am-u-md-3 mobeil-nav-btn-div">
        <div class="<?php echo $activeArr['productActive'] ? 'mobeil-nav-btn-active' : 'mobeil-nav-btn'; ?>">
          <img src="<?php echo $activeArr['productActive'] ? '__PUBLIC__/img/product_active.png' : '__PUBLIC__/img/product.png'; ?>">
        </div>
      </div>
      <div class="am-u-md-9 nav-text">
        产品展示        
      </div>
    </div>
    </a>

    <a href="<?php echo U('Index/news');?>" style="color: #FFFFFF">
    <div id="nav4" class="nav-btn-div am-g">
      <div class="am-u-md-3 mobeil-nav-btn-div">
        <div class="<?php echo $activeArr['newsActive'] ? 'mobeil-nav-btn-active' : 'mobeil-nav-btn'; ?>">
          <img src="<?php echo $activeArr['newsActive'] ? '__PUBLIC__/img/news_active.png' : '__PUBLIC__/img/news.png'; ?>">
        </div>
      </div>
      <div class="am-u-md-9 nav-text">
        新闻动态      
      </div>
    </div>
    </a>

    <a href="<?php echo U('Index/telus');?>" style="color: #FFFFFF">
    <div id="nav5" class="nav-btn-div am-g">
      <div class="am-u-md-3 mobeil-nav-btn-div">
        <div class="<?php echo $activeArr['telUsActive'] ? 'mobeil-nav-btn-active' : 'mobeil-nav-btn'; ?>">
          <img src="<?php echo $activeArr['telUsActive'] ? '__PUBLIC__/img/telus_active.png' : '__PUBLIC__/img/telus.png'; ?>">
        </div>
      </div>
      <div class="am-u-md-9 nav-text">
        联系我们   
      </div>
    </div>
    </a>
  </div>
  

  <div class="menu-btn" @click = "clickNavBtn">
    <img :src="menuBtnImg">
  </div>
</div>

<script type="text/javascript">
new Vue({
  el: "#header",
  data: {
    showNav: false,
    menuBtnImg: "__PUBLIC__/img/menu.png",
    menuBtnSrc: "__PUBLIC__/img/menu.png",
    menuBtnCloseSrc: "__PUBLIC__/img/close.png",

  },
  methods: {
    clickNavBtn: function() {
      this.showNav = !this.showNav;
      if (this.showNav) {
        this.navAnimation()
        this.menuBtnImg = this.menuBtnCloseSrc
      } else {
        this.menuBtnImg = this.menuBtnSrc
      }
    },

    navAnimation: function() {
      let tl = new TimelineLite()
      tl
        .from("#nav1", 0.12, {y: "+500px"})
        .from("#nav2", 0.12, {y: "+500px"})
        .from("#nav3", 0.12, {y: "+500px"})
        .from("#nav4", 0.12, {y: "+500px"})
        .from("#nav5", 0.12, {y: "+500px"})
    }

  }
})
</script>




<div id="content">

<div class="content-div">

  <div class="product-title"><?php echo ($news['title']); ?></div>
  <div class="updatetime">发表时间：<?php echo ($news['updatetime']); ?></div>
  <hr data-am-widget="divider" style="border-color: #F0EFEF" class="am-divider am-divider-default" />
  <div style="font-size: 4rem;"><?php echo ($news['content']); ?></div>
  <hr data-am-widget="divider" style="border-color: #F0EFEF" class="am-divider am-divider-default" />

  <div class="am-g">
    <div class="am-u-lg-6 grid-reset">
      <?php
 if ($news['lastNews']) { ?>
        <div class="last-next-font-style">
          <a href="<?php echo U('Index/newsPage?id='.$news['lastNews']['id']);?>">
            上一篇：<?php echo ($news['lastNews']['title']); ?>
          </a>
        </div>
      <?php
 } ?>
    </div>
    <div class="am-u-lg-6 grid-reset">
      <?php
 if ($news['nextNews']) { ?>
        <div class="last-next-font-style">
          <a href="<?php echo U('Index/newsPage?id='.$news['nextNews']['id']);?>">
            下一篇：<?php echo ($news['nextNews']['title']); ?>
          </a>
        </div>
      <?php
 } ?>
    </div>
  </div>

</div>

  
</div>

<div id="footer">
  
  <div data-am-widget="gotop" class="am-gotop am-gotop-default">
    <a href="#top" title="回到顶部" style="width: 100%; font-size: 3.5rem; background-color: #3285FF">
      <span class="am-gotop-title">回到顶部</span>
      <i class="am-gotop-icon am-icon-chevron-up"></i>
    </a>
  </div>

  <div style="padding: 5rem 0; font-size: 3.5rem; color: #999999; background-color: #E9F1FF">
    <div style="text-align: center;">
      ©2018 网站模板—Leil版权所有
    </div>
    <div style="text-align: center;">
      手机版 |本站使用凡科建站搭建 | 管理登录
    </div>
  </div>

</div>
</body>

<script type="text/javascript">


</script>
</html>